package com.x.Part11_多态;

/**
 * ClassName: Man
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.02.28 15:32
 */
public class Man extends Person{
    boolean isRich;

    @Override
    public void eat(){
        System.out.println("男人吃饭");
    }

    public void Smocking(){
        System.out.println("男人抽烟");
    }
}
